package com.oweight.sagacious.payment.infrastructure.configuration;

import com.oweight.sagacious.payment.infrastructure.interceptor.ClientTokenInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 加入Feign配置
 *
 * @author 周广明
 * @version v1 2019/10/21 16:11
 */
@Configuration
public class FeignConfiguration {
    @Bean
    ClientTokenInterceptor getClientTokenInterceptor(){
        return new ClientTokenInterceptor();
    }
}
